package com.koala.learn.asserttest;

/**
 * @author yantingrui
 * @date 2022/2/17   11:23
 */
public class MyAssert {

    public static void isNotNull(Object obj) {
        if (obj == null) {
            throw new MyException("空指针异常");
        }
    }
}
